Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Ambiguous HTTP method for action
访问swagger时报错,查看日志后如下: 解决方法:需要指定访问方式,controller中给方法添加属性 [HttpGet]或[HttpPost]。 ...
访问swagger时报错,查看日志后如下: 解决方法:需要指定访问方式,controller中给方法添加属性 [HttpGet]或[HttpPost]。 ...
今天想加个自定义的api,页面直接报500,查看日志后,下图: 其他人遇到的类似问题:https://stackoverflow.com/questions/51223541/auto ...
swagger调试时,api400,查看日志,内容如下: 2021-02-08 15:45:43.614 +08:00 [ERR] The required antiforgery cookie " ...